.CheckFace {
  height: 6rem;
  position: relative;

  &-face-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    background-image: url('../../assets/images/LivingCheck/人脸识别框@2x.png');
    background-size: 100% 100%;
    .corner {
      position: absolute;
      width: .3rem;
      height: .3rem;
      border-style: solid;
      border-color: #00B4FF;
      &.top {
        border-bottom: 4px;
        border-right: 4px;
        top: -10px;
        left: -10px;
        &.topMove {
            animation: TopMove 3s infinite;
        }
      }
      &.right {
        border-bottom: 4px;
        border-left: 4px;
        top: -10px;
        right: -10px;
        &.rightMove {
            animation: RightMove 3s infinite;
        }
      }
      &.bottom {
        border-top: 4px;
        border-left: 4px;
        bottom: -10px;
        right: -10px;
        &.bottomMove {
            animation: BottomMove 3s infinite;
        }
      }
      &.left {
        border-top: 4px;
        border-right: 4px;
        bottom: -10px;
        left: -10px;
        &.leftMove {
            animation: LeftMove 3s infinite;
        }
      }
    }
  }

  &-tip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    width: 4rem;
    height: .46rem;
    border-radius:2px;
    font-size: .20rem;
    color: #fff;
    line-height: .46rem;
    margin-top: .1rem;
    // overflow-y: hidden;
    // box-shadow: 49px 0 20px 0 rgba(3,70,130,.3);
    &::before {
      content: '';
      display: block;
      z-index: -1;
      height: 100%;
      background-image:radial-gradient(circle, rgba(3,70,130,.8), rgba(3,70,130,0));
    }
    span {
      position: absolute;
      top: 0;
      width: 100%;
      text-align: center;
    }
 
  }

  .success {
    padding-top: .5rem;
    height: 100%;
    text-align: center;
    color: #0e9cfe;
    font-size: 20px;
  }

  .fail {
    padding-top: 2rem;
    height: 100%;
    text-align: center;
    color: #0e9cfe;
    font-size: 20px;
  }


  @keyframes TopMove {
    0% {
        
        top: -10px;
        left: -10px;
    }
    50% {
        top: -20px;
        left: -20px;
    }
    100% {
        top: -10px;
        left: -10px;
    }
  }
  @keyframes RightMove {
      0% {
          
          top: -10px;
          right: -10px;
      }
      50% {
          top: -20px;
          right: -20px;
      }
      100% {
          top: -10px;
          right: -10px;
      }
  }
  @keyframes BottomMove {
      0% {
          
          bottom: -10px;
          right: -10px;
      }
      50% {
          bottom: -20px;
          right: -20px;
      }
      100% {
          bottom: -10px;
          right: -10px;
      }
  }
  @keyframes LeftMove {
      0% {
          
          bottom: -10px;
          left: -10px;
      }
      50% {
          bottom: -20px;
          left: -20px;
      }
      100% {
          bottom: -10px;
          left: -10px;
      }
  }
}

.ant-modal-body{
  padding: 0;
}
.ant-modal-header {
  border: 0;
  background: #0e9cfe; 
  .ant-modal-title {
    color: #fff;
    font-size: .22rem;
  }
}
.ant-modal-close-x {
  svg path {
    fill: gray;
  }
}